import request from '@/utils/request.js'

export const getCollect = (page) => {
  return request.get('/h5/interview/opt/list', {
    params: {
      page: page,
      pageSize: 10,
      optType: 2
    } // 收藏
  })
}

export const getLike = (page) => {
  return request.get('/h5/interview/opt/list', {
    params: {
      page: page,
      pageSize: 10,
      optType: 1
    } // 喜欢
  })
}
